package com.ygqh.baby.po;

import java.util.Date;

public class YgOrderPayLog {
    private Long id;

    private String paymentCode;

    private String orderId;

    private String payType;

    private String logType;

    private String content;

    private String remark;

    private Date createTime;

    private String status;

    public YgOrderPayLog() {
    }

    public YgOrderPayLog(String paymentCode,String orderId, String payType, String logType, String content, String status) {
        this.paymentCode = paymentCode;
        this.payType = payType;
        this.logType = logType;
        this.orderId = orderId;
        this.content = content;
        this.createTime = new Date();
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPaymentCode() {
        return paymentCode;
    }

    public void setPaymentCode(String paymentCode) {
        this.paymentCode = paymentCode == null ? null : paymentCode.trim();
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType == null ? null : payType.trim();
    }

    public String getLogType() {
        return logType;
    }

    public void setLogType(String logType) {
        this.logType = logType == null ? null : logType.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }


    @Override
    public String toString() {
        return "YgOrderPayLog{" +
                "id=" + id +
                ", paymentCode='" + paymentCode + '\'' +
                ", orderId='" + orderId + '\'' +
                ", payType='" + payType + '\'' +
                ", logType='" + logType + '\'' +
                ", content='" + content + '\'' +
                ", remark='" + remark + '\'' +
                ", createTime=" + createTime +
                ", status='" + status + '\'' +
                '}';
    }
}